package com.areful.Zxing.Demo;

import android.os.Environment;

public class AppConfig {
	//	.net/.org,	DEBUG,	signup md5
	public static final boolean DEBUG 				= false;									//	打印调试信息
	public static final boolean ISSHOWTEXTDEBUG 	= true;
	
//	public static final boolean DEBUG = false;													//	打印调试信息

//	public static final String URL 					= "http://10.99.1.17:8080/locoso_api/";		//	杭永昌
//	public static final String URL 					= "http://apidev.locoso.org/v1/";			//	外网测试
//	public static final String URL 					= "http://api2.locoso.org/v1/";				//	内网测试
	
	public static final String URL 					= "http://api.locoso.net/v1/";				//	内网测试	
//	public static final String URL 					= "http://api.locoso.org/v1/";				//	发布使用
//	public static final String URL 					= "http://api.locoso.com/v1/";				//	发布使用
	
	public static final String TELE_NUMBER			= "051267900988";
	public static final String MAIN_ADDR			= "app@raiyi.com";
	public static final String WEB_ADDR				= "http://www.raiyi.com";

	public static final long GPS_TIME_OUT 			= 2 * 60 * 1000;
	public static final int UPLOADFILE_TIME_OUT 	= 60 * 1000;								//	上传文件超时值
	public static final int TIME_OUT 				= 30 * 1000;								//	网络相关操作超时时间
	public static final int CLIENT_BUFFER_SIZE 		= 8 * 1024;									//	客户端获取数据缓冲区大小

	public static final String CHARSET 				= "UTF-8";									//	编码方式
	
	 
	public static final String SDCARD_PATH			= Environment.getExternalStorageDirectory().getPath();   
	public static final String UPDATE_SAVE_FILENAME	= SDCARD_PATH + "/Locoso.apk";				// 	下载包安装路径 
   
	public static final String DEFAULT_AREA 		= "全国";

	public static final String PIC_SIZE_0 			= "0";
	public static final String PIC_SIZE_1 			= "1";
	public static final String PIC_SIZE_3 			= "3";
	public static final String PIC_SIZE_4 			= "4";
	public static final String PIC_SIZE_5 			= "16";

	public static final long AREA_ROOTID 			= 10000;									//	地区根id
	public static final long LISTAREA_ROOTID 		= 10001;
	
	public static final long SORT_ROOTID 			= 20000;									//	分类根id

	
	public static final int UPDATE_AVAILABLE 		= 1;										//	普通更新
	public static final int FORCE_UPDATE 			= 2;										//	强制更新

	public static final int SHOW_UNPASSED_STATE_MESSAGES	= 8;								//	查看未审核通过的留言

	public static final String MAP_QUARY_LATLON_BY_ADDRESS = "http://maps.googleapis.com/maps/api/geocode/json?address={0}&sensor=true";


}